package xginxlog

import (
	"gitee.com/xiaoyutab/xgotool/optional/xlog"
	"gitee.com/xiaoyutab/xgotool/xgin"
	"github.com/gin-gonic/gin"
)

// 获取日志分类列表
//
//	GET	/get.type
func getType(c *gin.Context) *xgin.Response {
	lis := xlog.GetLogType()
	return xgin.Resp().NoPage(c, lis, len(lis))
}
